ISCPersistenceUnit Interface

The following table contains information on the ISCPersistenceUnit interface:

Signature

Description

Valid Arguments

BSTR Name()

Returns the name of the persistence unit

None

SC_MODELTYPEID ObjectId()

Returns an identifier for the persistence unit

None

ISCPropertyBag

PropertyBag(VARIANT List[optional], VARIANT AsString[optional])

Returns a property bag with the properties of the persistence unit

List:

  • VT_BSTR � Semicolon-separated list of property names. Returns a property bag with the unit properties in the given list.

AsString:

  • VT_BOOL � Returns a property bag with all values presented as strings if set to TRUE. Otherwise, the values are presented in its native format.

VARIANT_BOOL

HasSession()

Returns TRUE if a unit has one or more sessions connected

None

VARIANT_BOOL IsValid()

Returns TRUE is self is valid

None